package com.sf.hackathons.app.helper;


import com.sf.hackathons.app.constants.HttpConstants;
import com.sf.hackathons.lib.bean.UserInfo;
import com.sf.hackathons.lib.http.BaseHttpHelper;

import java.util.HashMap;

/**
 * Created by guofanghua on 2017/9/26.
 */
public class GroupDetailHelper extends BaseHttpHelper {



    @Override
    public String initUrl() {
        return HttpConstants.URL_GROUP_DETAIL;
    }

    @Override
    public HashMap<String, Object> initParameters() {
        HashMap<String, Object> mapParam = new HashMap<>();
        mapParam.put("userId", UserInfo.userId);
        return mapParam;

    }

    @Override
    public String initVerCode() {
        return HttpConstants.VERSION_1;
    }
}
